<TABLE class="cms_browsetext" cellSpacing="0" cellPadding="0" width="100%" border="0">

	<TR> 
	  <TH align="left" width="35">&nbsp;</TH>
	  <TH align="left" ><A href="#">Title</A></TH>
	  <TH width="75" align="left">Action</TH>
	</TR>
<?

/**
 * 	this is for the display and browsing of 'file folders'
 */

	$cmsDocument->resetIterator();
	while($row = $cmsDocument->nextDocument()) {
			$browseUrl = $_SERVER['PHP_SELF'] . '?fileNo=1&formid=132&folder=' . $row->documentcode; 
?>

    <TR> 
      <TD align="left" colSpan="3"><IMG height="7" src="/cms/images/greyline.gif" width="100%"></TD>
    </TR>
    <TR> 
      <TD class="cms_browsetext" width="35"><a href="<?= $browseUrl ?>" ><img src="/cms/images/icon_intranetpagefolder.gif" width="35" height="20"></a></TD>
      <TD class="cms_browsetext" ><a href="<?= $browseUrl ?>" ><?= $row->title ?></a></TD>
      <TD class="cms_browsetext" width="75">
<?
                      	if(editFormAuth($authInfo, $formDescription, $row->documentcode, $db)) { 
?>
	<a href="/cms/html/index.php?fileNo=2&documentCode=<? print($row->documentcode); ?>" >Edit</a>
<? 
                      	}
						if(deleteFormAuth($authInfo, $formDescription, $row->documentcode, $db)) {
?>
 / <a href="/cms/html/index.php?fileNo=4&documentCode=<? print($row->documentcode); ?>&returnURLEncoded=<?= urlencode($returnURL) ?>&cancelURLEncoded=<?= urlencode($cancelURL) ?>" >Delete</a>
<? 
						}
?>
	  </TD>
	</TR>
<?
	}
?>
    <TR> 
      <TD align="left" colSpan="3"><IMG height="7" src="/cms/images/greyline.gif" width="100%"></TD>
    </TR>
</TABLE>

<?	
//	displayFolderQuickAdd($formDescription, $authInfo, null, null, $db );
	$addMode = CMS_ADD_QUICK_ADD_FOLDER;
	$addLabel = "Create New Folder";
?>